{extend name='admin@public/content'}
{block name="content"}
<!-- 表单搜索 开始 -->

<script>
    window.laydate.render({range: true, elem: '#range-date'});
</script>
<!-- 表单搜索 结束 -->

<form onsubmit="return false;" data-auto="true" method="post">
    <!--{empty name='list.list'}-->
    <p class="help-block text-center well">没 有 记 录 哦！</p>
    <!--{else}-->
    <input type="hidden" value="resort" name="action">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <th class='text-left nowrap'>用户名</th>
            <th class='text-left nowrap'>充值金额</th>
            <th class='text-left nowrap'>充值方式</th>
            <th class='text-left nowrap'>充值时间</th>
            <th class='text-left nowrap'>是否充值成功</th>
            <th class='text-left nowrap'>交易单号</th>
        </tr>
        </thead>
        <tbody>
        {foreach $list['list'] as $key=>$vo}
        <tr>
            <td class='text-left nowrap'>
                {$vo.username|default="<span class='color-desc'>暂无</span>"|raw}
            </td>
            <td class='text-left nowrap'>
                {$vo.money|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$vo.recharge_type_name|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$vo.addtimes|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$vo.status_name|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$vo.recharge_num|default='暂无'}
            </td>

        </tr>
        {/foreach}
        </tbody>
    </table>
    {if isset($list.page)}<p>{$list.page|raw}</p>{/if}
    <!--{/empty}-->
</form>
{/block}
{block name="script"}
<!--表单初始化-->
<script>
    window.laydate.render({range: true, elem: '#create_at'});
    window.form.render();
</script>

<!--引入标签设置-->
{/block}